/*******************************************************************************
 *  Copyright (c) 2010 Chase Technology Ltd.
 *  
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the GNU General Public License v3.0
 *  which is available at http://www.gnu.org/licenses/
 * 
 * Contributors:
 *     Doug Satchwell - initial API and implementation
 *******************************************************************************/
package org.jfunction.internal.parser;

import org.eclipse.jface.text.rules.IToken;

/**
 * Tokens to be detected in a JBehave scenarion file
 * 
 * @author Doug Satchwell
 */
public enum JFunctionToken implements IToken {
  COMMENT,
  STEP,
  SCENARIO,
  EXAMPLES, 
  EXAMPLE_FIELD, 
  FIELD, 
  EOL;
  
  public Object getData() {
    return null;
  }

  public boolean isEOF() {
    return false;
  }

  public boolean isOther() {
    return false;
  }

  public boolean isUndefined() {
    return false;
  }

  public boolean isWhitespace() {
    return this == EOL;
  }
}
